package com.yidu.hbats.dao;

import com.yidu.hbats.model.AtsBaseSport;
import com.yidu.hbats.model.AtsDataDic;
import com.yidu.utils.Page;

import java.util.List;
import java.util.Map;

public interface AtsBaseSportMapper {
    int deleteByPrimaryKey(Integer sportId);

    int insert(AtsBaseSport atsBaseSport);

    int insertSelective(AtsBaseSport atsBaseSport);

    AtsBaseSport selectByPrimaryKey(Integer sportId);

    int updateByPrimaryKeySelective(AtsBaseSport atsBaseSport);

    int updateByPrimaryKey(AtsBaseSport atsBaseSport);

   // List <AtsBaseSport> selectAll (Map<String,Object> map);

    public List<AtsBaseSport> selectAll(AtsBaseSport atsBaseSport);

    public int saveOrUpdate(AtsBaseSport atsBaseSport);

    public int updateIsva(AtsBaseSport atsBaseSport);

    public int selectCount(AtsBaseSport atsBaseSport);

    public int deleteAll(Integer ids);//批量删除


    public List<AtsBaseSport> findAll ();
    //根据人员查体育项目
    AtsBaseSport selectAth(Integer athleteId);
    //教练员
    AtsBaseSport selectCoachSport(Integer coachId);
    //专家
    AtsBaseSport selectExpertSport(Integer experId);
    int deleteMod(String sportId);


}